﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace iBankCliente.Interfaz
{
    public partial class TipoDeOperacion : Form
    {
        private String tarjeta;
        public TipoDeOperacion()
        {
            InitializeComponent();
        }
        public TipoDeOperacion(String tarjeta)
        {
            InitializeComponent();
            this.tarjeta = tarjeta;
        }

        private void TipoDeOperacion_Load(object sender, EventArgs e)
        {

        }

        private void lClave_Click(object sender, EventArgs e)
        {
            CambioClave ventana = new CambioClave(tarjeta);
            ventana.Visible = true;
            this.Visible = false;

        }

        private void lConsulta_Click(object sender, EventArgs e)
        {
            ConsultaCuentas ventana = new ConsultaCuentas(tarjeta);
            ventana.Visible = true;
            this.Visible = false;
        }

        private void lCancelar_Click(object sender, EventArgs e)
        {
            ventanaCajero ventana = new ventanaCajero();
            ventana.Visible = true;
            this.Visible = false;

        }

        private void label5_Click(object sender, EventArgs e)
        {
            Deposito ventana = new Deposito(tarjeta);
            ventana.Visible = true;
            this.Visible = false;
        }

        private void label6_Click(object sender, EventArgs e)
        {
            Retiro ventana = new Retiro(tarjeta);
            ventana.Visible = true;
            this.Visible = false;
        }
    }
}
